// The Vue build version to load with the `import` command
// (runtime-only or standalone) has been set in webpack.base.conf with an alias.
import Vue from 'vue'
import App from './App'
import router from './router'
import Moment from "moment"
import uploader from 'vue-simple-uploader'
Vue.use(uploader)
//element-ui库
import ElementUI from 'element-ui'
import 'element-ui/lib/theme-chalk/index.css'
Vue.use(ElementUI)

Vue.prototype.moment=Moment
//安装axios,格式转换工具
import axios from 'axios'
import qs from 'qs'
Vue.prototype.qs=qs;
Vue.prototype.axios = axios;
//安装富文本编辑器
import VueQuillEditor from "vue-quill-editor"
Vue.use(VueQuillEditor);

import mavonEditor from 'mavon-editor'
import 'mavon-editor/dist/css/index.css'
// import VueMarkdown from 'vue-markdown';
// use
Vue.use(mavonEditor, {
  options: {
    emoji: true,
  },
})

// 引入echarts
import echarts from 'echarts'
Vue.prototype.$echarts = echarts




Vue.config.productionTip = false

/* eslint-disable no-new */
new Vue({
  el: '#app',
  router,
  components: { App },
  template: '<App/>'
})
